<!doctype html>
<html lang="{{str_replace('_','-',app()->getLocale())}}">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <meta name="description" content="@yield('desc',setting('seo_description','Laravel项目实战'))">
    <meta name="description" content="@yield('desc',setting('seo_keyword','PHP框架Laravel实战对象'))">
    <title>
        @yield('title','BbsChat项目') -- Laravel实战
    </title>
    @yield('editor_css')

    <link rel="stylesheet" href="{{asset('css/bootstrap.min.css')}}">
    <link rel="stylesheet" href="{{asset(mix('css/app.css'))}}">
</head>
<body>

    @include('layouts._header')

    <div class="container main">
        @include('Shared._message')
        @yield('content')
    </div>

    @include('layouts._footer')

    <script src="{{asset('js/jquery.min.js')}}"></script>
    <script src="{{asset('js/bootstrap.min.js')}}"></script>
    <script src="{{asset(mix('js/app.js'))}}"></script>
    @yield('editor_js')
</body>
</html>
